projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
957d52e
)
restore segfault for massimo
author
Øyvind Kolås
<pippin@gimp.org>
Fri, 8 Sep 2017 16:21:46 +0000
(18:21 +0200)
committer
Øyvind Kolås
<pippin@gimp.org>
Fri, 8 Sep 2017 16:21:46 +0000
(18:21 +0200)
babl/babl-util.c
patch
|
blob
|
history
diff --git
a/babl/babl-util.c
b/babl/babl-util.c
index 7af13627d2443a625e5883ec0b359e6b41de5ad0..9148aff6f5686ba303796df7a851c6800d648a61 100644
(file)
--- a/
babl/babl-util.c
+++ b/
babl/babl-util.c
@@
-91,7
+91,7
@@
babl_rel_avg_error (const double *imgA,
for (i = 0; i < samples; i++)
error += fabs (imgA[i] - imgB[i]);
- if (
!(error < 0.000001)
)
+ if (
error <= 0.000001
)
error /= samples;
else
error = 0.0;